package cn.gs.common.service;

import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;
import tk.mybatis.mapper.common.Mapper;

import java.util.List;

/**
 * @author gs
 * @date 2020/1/10
 */
@Service
public class BaseServiceImpl<T> implements BaseService<T> {
    @Autowired
    Mapper<T> mapper;

    @Override
    public List<T> selectByExample(Object object) {
        return mapper.selectByExample(object);
    }
}
